package com.tian.mybatis.executor;

import com.tian.mybatis.util.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author tianwc  公众号：java后端技术全栈、面试专栏
 * @version 1.0.0
 * @date 2023年09月21日 16:55
 * 在线刷题 1200+题和1000+篇干货文章：<a href="https://woaijava.cc/">博客地址</a>
 */
public class BondSql {
    private String sqlText;
//    private List<ParameterMapping> parameterMappingList = new ArrayList<>();
    private List<String> parameterMappingList = new ArrayList<>();

    public BondSql(String sqlText, List<String> parameterMappingList) {
        this.sqlText = sqlText;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<String> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<String> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
